package com.ljf.order.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * @Author: Ljf
 * @Date : 2019/1/31 16:13
 * @Description :
 */
@Data
@Entity
@DynamicUpdate
public class ProductInfo {
    @Id
    private String productId;
    private String productName;
    private BigDecimal productPrice;
    private Integer productStock;//库存
    private String productDescription;
    private String productIcon;
    private Integer productStatus; //0正常 1 下架
    private Integer categoryType;
}
